<template>
	<view class="myCard">
		<view class="cardTopName">产品名称：{{item.goods_name}}({{item.sku_name}})</view>

<!-- 		<view class="flexRow">
			<view>
				<text>售价：</text>
				<text>{{item.sale_price}}元</text>
			</view>
			<view>
				<text>折扣：</text>
				<text>0%</text>
			</view>
		</view> 
		-->
		
		<view class="flexRow">
			<view>
				<text>售价：</text>
				<text>{{item.price}}元</text>
			</view>
		</view>
		<view class="flexRow">
			<view>
				<text>数量：</text>
				<text>{{item.num}}</text>
			</view>
		</view>
		<view class="flexRow">
			<view>
				<text>小计：</text>
				<text>{{item.last_money}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		props: {
			item: {
				type: Object,
				default: () => {}
			}
		},
		data() {
			return {
				
			}
		},
		methods: {
			
		}
	}
</script>

<style>
	.flexRow {
		display: flex;
		font-size: 32rpx;
		color: #ADADAD;
		margin-bottom: 8rpx;
	}
	.flexRow>view {
		width: 50%;
		display: flex;
	}
	.flexRow>view>text:last-child {
		color: #000000;
	}
</style>

